package com.yonyougov.devops.cruxcisupport.harbor.project;

import lombok.*;

import java.util.Date;

/**
 * 原始对象格式如下,目前封装的对象比原始对象的属性下,如需自行添加
 *      {
 *          "project_id": 4,
 *          "owner_id": 1,
 *          "name": "coreos",
 *          "creation_time": "2020-07-30T09:37:14Z",
 *          "update_time": "2020-07-30T09:37:14Z",
 *          "deleted": false,
 *          "owner_name": "",
 *          "current_user_role_id": 1,
 *          "current_user_role_ids": [],
 *          "repo_count": 6,
 *          "chart_count": 0,
 *          "metadata": {
 *          "public": "true"
 *          },
 *          "cve_whitelist": {
 *          "id": 0,
 *          "project_id": 0,
 *          "items": null,
 *          "creation_time": "0001-01-01T00:00:00Z",
 *          "update_time": "0001-01-01T00:00:00Z"
 *          }
 *      }
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class HarborProject {
    private Integer project_id;
    private Integer owner_id;
    private String name;
    private Date creation_time;
    private Date update_time;
    private boolean deleted;
    private String owner_name;
    private Integer repo_count;
    private Integer chart_count;
}
